package com.infore.airsupervise.biz;

import com.infore.airsupervise.bean.AirStationE;
import com.infore.airsupervise.bean.PointAnalyzeE;
import com.infore.airsupervise.bean.PointQueryE;
import com.infore.airsupervise.bean.StationDetailE;
import com.infore.airsupervise.http.BaseResponse;
import com.infore.airsupervise.http.OnServerResponseListener;

import java.util.List;

import retrofit2.Call;

/**
 * @features:
 * @author: WuTao
 * @date: 2017/3/30 10:09
 */
public interface StationDetailBiz {

    /**
     * 根据mn号获取站点详情的网络请求
     * @param mn
     * @param listener
     * @return
     */
    Call<BaseResponse> sendStationDetailRequest(String mn,OnServerResponseListener<StationDetailE> listener);

    /**
     *  获取 站点历史照片  八方图
     * @param mn  站点
     * @param time  时间
     * @param listener
     * @return
     */
    Call<BaseResponse>  sendHistoryPictureRequest(String mn , String time , OnServerResponseListener<List<StationDetailE.SitePicture>> listener);

    Call<BaseResponse>  sendRecentlyDataRequest(String mn, String startTime , String endTime,  OnServerResponseListener<List<PointAnalyzeE>> listener);
}
